-- GENERATED SPELL FOR [Shade of Jin'do] --


function spell0_14986(pUnit, Event) --@Shadow Shock,n/a--
pUnit:FullCastSpellOnTarget(24458,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14986', 585, 1)
end

function Sorts_14986(pUnit, Event)
local choix_sorts_14986 = math.random(0, 0)
if choix_sorts_14986 == 0 then
pUnit:RegisterEvent('spell0_14986', 1, 1)
end
end

function mob14986_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14986', math.random(1500, 3000), 1)
end

function mob14986_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14986_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14986_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14986, 1, 'mob14986_Action')
RegisterUnitEvent(14986, 2, 'mob14986_Leave')
RegisterUnitEvent(14986, 3, 'mob14986_Kill')
RegisterUnitEvent(14986, 4, 'mob14986_Die')
